using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace backend.Models.Dtos
{
    public class FaultTypeStatDto
    {
        public string FaultType { get; set; } = null!;
        public int? Number { get; set; }
    }

    public class AreaStatDto
    {
        public string AreaName { get; set; } = null!;
        public int? Number { get; set; }
    }

    public class RatingStatDto
    {
        public decimal TotalAverage { get; set; }
        public decimal ResponseTime { get; set; }
        public decimal ServiceQuality { get; set; }
        public decimal ServiceAttitude { get; set; }
    }

    public class StatsResultDto
    {
        public List<FaultTypeStatDto> Faults { get; set; } = new List<FaultTypeStatDto>();
        public List<AreaStatDto> Areas { get; set; } = new List<AreaStatDto>();
        public decimal TotalAverage { get; set; }
        public decimal ResponseTime { get; set; }
        public decimal ServiceQuality { get; set; }
        public decimal ServiceAttitude { get; set; }
    }
}